package com.tjec.project.system.domain;

import com.tjec.framework.aspectj.lang.annotation.Excel;
import com.tjec.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 业务类别关联关系对象 bms_category_associated
 * 
 * @author villwang
 * @date 2020-04-30
 */
public class BmsCategoryAssociated extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 类别guid */
    @Excel(name = "类别guid")
    private String categoryGuid;

    /** 主表guid */
    @Excel(name = "主表guid")
    private String parentGuid;

    /** guid */
    @Excel(name = "guid")
    private String guid;

    /** 标记字段 1为bms_knowledge_case
       2为 bms_knowledge_template */
    @Excel(name = "标记字段 1为bms_knowledge_case 2为 bms_knowledge_template")
    private Integer flag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryGuid(String categoryGuid) 
    {
        this.categoryGuid = categoryGuid;
    }

    public String getCategoryGuid() 
    {
        return categoryGuid;
    }
    public void setParentGuid(String parentGuid) 
    {
        this.parentGuid = parentGuid;
    }

    public String getParentGuid() 
    {
        return parentGuid;
    }
    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setFlag(Integer flag)
    {
        this.flag = flag;
    }

    public Integer getFlag() 
    {
        return flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryGuid", getCategoryGuid())
            .append("parentGuid", getParentGuid())
            .append("guid", getGuid())
            .append("flag", getFlag())
            .toString();
    }
}
